using MediatR;
using Medical.Api.Write.Dto.BasicManagement.EquipmentPackageDictionaryDto;
using Medical.ErrorCode;

namespace Medical.Api.Write.Application.Command.BasicManagement.EquipmentPackageDictionaryCommand
{
    /// <summary>
    /// 更新器械包状态命令
    /// </summary>
    public class UpdateEquipmentPackageStatusCommand : IRequest<ApiResult<bool>>
    {
        /// <summary>
        /// 器械包状态数据
        /// </summary>
        public UpdateEquipmentPackageStatusDto StatusData { get; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="statusData">状态更新数据</param>
        public UpdateEquipmentPackageStatusCommand(UpdateEquipmentPackageStatusDto statusData)
        {
            StatusData = statusData;
        }
    }
}